package com.crazyteam.genid;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableAsync;

//使用自动配置，主动添加并解析bean，配置文件等信息
@EnableEurekaClient
@SpringBootApplication(exclude = {
		DataSourceAutoConfiguration.class})
@EnableAsync
public class GenidApplication {

	public static void main(String[] args) {
		SpringApplication.run(GenidApplication.class, args);
	}
}

